Extending the ClassWithConnection is useful when you have a class that needs to communicate with a server.